package com.training.food.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.*;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Getter
@Setter
@Data
@NoArgsConstructor
@EqualsAndHashCode
@Entity
@Table( name ="examine" )
public class Examine implements Serializable {
    @Id
    private String username;
    @Column(name = "state")
    private char state;
    @Column(name="message")
    private String message;
}
